#ifndef STOCKDATA_H
#define STOCKDATA_H

#include <QString>
class StockData
{
public:
    StockData();
    StockData(int things_id,int user_id,const QString &tings_name,const QString &tings_jur,int tings_money,int tings_count);
    StockData(StockData *tings);

    int getTings_id() const;
    void setTings_id(int value);

    int getUser_id() const;
    void setUser_id(int value);

    QString getTings_name() const;
    void setTings_name(const QString &value);

    QString getTings_jur() const;
    void setTings_jur(const QString &value);

    double getTings_money() const;
    void setTings_money(double value);

    int getTings_count() const;
    void setTings_count(int value);

private:
    int tings_id;
    int user_id=0;
    QString tings_name;
    QString tings_jur;
    double tings_money;
    int tings_count;
};

#endif // STOCKDATA_H
